package org.dromara.system.domain;

import lombok.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;

import java.io.Serial;

/**
 * 续期分润记录对象 sim_renew_profit_records
 *
 * @author Lion Li
 * @date 2025-09-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sim_renew_profit_records")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SimRenewProfitRecords extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private Long userId;


    private Long renewRecordId;


    /**
     * 续期订单号
     */
    private String no;

    /**
     * 流量卡id
     */
    private Long simCardId;

    /**
     * iccid
     */
    private String iccId;

    /**
     * 分润
     */
    private BigDecimal profit;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
